x86/io: move the list of guest to machine IO ports out of domain_iommu
authorRoger Pau Monné <roger.pau@citrix.com>
Fri, 7 Apr 2017 10:03:15 +0000 (12:03 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 7 Apr 2017 10:03:15 +0000 (12:03 +0200)
commitffe86d38f1f4c69270613d27680dafff64ab97d5
tree34b75945ac84e36ca6c895290dc5b3911aed3a82
parentf47364e5007216f55c8df7403015a6ea2fec4c29
x86/io: move the list of guest to machine IO ports out of domain_iommu

There's no reason to store that list inside of the domain_iommu struct, the
forwarding of guest IO ports into machine IO ports is not tied to the presence
of an IOMMU.

Move it inside of the hvm_domain struct instead.

Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/domctl.c
xen/arch/x86/hvm/hvm.c
xen/arch/x86/hvm/io.c
xen/drivers/passthrough/x86/iommu.c
xen/include/asm-x86/hvm/domain.h
xen/include/asm-x86/iommu.h